package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.OrderDetailBean;
import com.mz.ozy.bean.OrderListBean;
import com.mz.ozy.bean.ReceiveAccountBean;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class SellKtContract {
    public interface View extends BaseView {
        void geAssetsInfoSuccess(OrderDetailBean bean);

        void onPaySuccess(OrderDetailBean bean);

        void queryAccountSuccess(ReceiveAccountBean bean);

        void cancelOrderSuccess(OrderListBean bean);
    }

    public interface Presenter extends BasePresenter<View> {
        void geAssetsInfo(Activity activity, String type);

        void onPay(Context context, String orderid, String msg);

        void queryAccount(Context context);

        void cancelOrder(Context context, String id);
    }
}
